<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<!-- CSS goes in the document HEAD or added to your external stylesheet -->
<link type="text/css" rel="stylesheet" media="all"  href="<%=path %>/css/resultTable.css" />
<script type="text/javascript" src="<%=path%>/js/jquery.js"></script>
<script type="text/javascript">
	$(function() {
		var table = $(".hovertable");
		var tr = $("<tr>");
		for(var i = 0;i<7;i++){
		var th = $("<th>");
		th.html("Info Header "+i);
		th.appendTo(tr);
		}
		tr.appendTo(table);
		for(var m = 0;m<10;m++){
				var tr1 = $("<tr>");
				tr1.addClass("trTable");
			for(var n = 0 ;n<7;n++){
				var td = $("<td>");
				td.html(m+"td"+n);
				td.appendTo(tr1);
			}
			tr1.appendTo(table);
		}
		$(".trTable").mouseover(function() {
			$(this).css("background-color", "#ffff66");
		});
		$(".trTable").mouseout(function() {
			$(this).css("background-color", "#d4e3e5");
		});
	});
</script>
</head>
<body>


	<!-- Table goes in the document BODY -->
	<table class="hovertable">
		
	</table>

</body>
</html>